package jp.ac.u_tokyo.dch.model.db;

import org.apache.commons.lang.xwork.StringUtils;

public class DataSchemaDetail {


	private String schemaid;
	private String fieldKey;
	private String inputType;
	private String optionKbn;
	private String required = "0";
	private String display;
	private String tmSign;
	private String hissuSelectSign;
	private String portaSign;
	private String content;
	private String customSign;


	/** join*/
	private String fieldDisplayname;
	private String fieldItemName;
	private String fieldDisplayOrder;
	private String sort;


	private String options;

	public String getOptions() {
		return options;
	}
	public void setOptions(String options) {
		this.options = options;
	}
	public String getSchemaid() {
		return schemaid;
	}
	public void setSchemaid(String schemaid) {
		this.schemaid = schemaid;
	}
	public String getFieldKey() {
		return fieldKey;
	}
	public void setFieldKey(String fieldKey) {
		this.fieldKey = fieldKey;
	}
	public String getInputType() {
		return inputType;
	}
	public void setInputType(String inputType) {
		this.inputType = inputType;
	}

	public String getOptionKbn() {

		if (StringUtils.isEmpty(optionKbn)) {
			return "0";
		}

		return optionKbn;
	}
	public void setOptionKbn(String optionKbn) {
		this.optionKbn = optionKbn;
	}
	public String getRequired() {
		return required;
	}
	public void setRequired(String required) {
		this.required = required;
	}
	public String getDisplay() {
		return display;
	}
	public void setDisplay(String display) {
		this.display = display;
	}
	public String getTmSign() {
		return tmSign;
	}
	public void setTmSign(String tmSign) {
		this.tmSign = tmSign;
	}
	public String getHissuSelectSign() {
		return hissuSelectSign;
	}
	public void setHissuSelectSign(String hissuSelectSign) {
		this.hissuSelectSign = hissuSelectSign;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getCustomSign() {
		return customSign;
	}
	public void setCustomSign(String customSign) {
		this.customSign = customSign;
	}
	public String getPortaSign() {
		return portaSign;
	}
	public void setPortaSign(String portaSign) {
		this.portaSign = portaSign;
	}
	public String getFieldDisplayname() {
		return fieldDisplayname;
	}
	public void setFieldDisplayname(String fieldDisplayname) {
		this.fieldDisplayname = fieldDisplayname;
	}
	public String getFieldItemName() {
		return fieldItemName;
	}
	public void setFieldItemName(String fieldItemName) {
		this.fieldItemName = fieldItemName;
	}
	public String getFieldDisplayOrder() {
		return fieldDisplayOrder;
	}
	public void setFieldDisplayOrder(String fieldDisplayOrder) {
		this.fieldDisplayOrder = fieldDisplayOrder;
	}
	public String getSort() {
		return sort;
	}
	public void setSort(String sort) {
		this.sort = sort;
	}

}
